﻿#ifndef MAINWINDOW_H
#define MAINWINDOW_H

//#pragma execution_character_set("utf-8")

#include <QMainWindow>
#include "QtCharts"
#include "QChartView"
#include<opencv/cv.h>
#include<opencv/cxcore.h>
#include<opencv/highgui.h>
#include<opencv2/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
//using namespace cv;    //

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

    void drawPie(QChartView *widgetMid,QString title);
    void Graphic_LineSeries(QChartView *widgetMid,QString title);//drawPieGraphic
    void Graphic_BarSet(QList<QString>detectorname);


private slots:
    void on_actionTypeConfig_triggered();

    void on_actionQualityRank_triggered();

    void on_actionCameraConfig_triggered();

    void on_actionSave_triggered();

    void on_actionPLC_triggered();

private:
    Ui::MainWindow *ui;
};



#endif // MAINWINDOW_H
